package entity;

import java.util.Date;

/**
 * 用户实体对象
 *
 *用户信息表（users）
 *
 * @Author lzp
 * @Date 2023-11-21
 */
public class User {
    /*
        用户ID
     */
    private int usersId ;
    /*
        用户名
     */
    private String userName ;
    /*
        密码
     */
    private	String passWord;
    /*
    手机号
     */
    private   String phone ;
    /*
        昵称
     */
    private   String name ;
     /*
     头像
      */
    private  String avatar ;

    public User() {
    }

    public User(int usersId, String userName, String passWord, String phone, String name, String avatar) {
        this.usersId = usersId;
        this.userName = userName;
        this.passWord = passWord;
        this.phone = phone;
        this.name = name;
        this.avatar = avatar;
    }

    public int getUsersId() {
        return usersId;
    }

    public void setUsersId(int usersId) {
        this.usersId = usersId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

}
